Skip to content

docs(qa): start QA rounds on the maintainer's word and add the scenario half - #31489

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-bujtwx
Nov 8, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-bujtwx

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steedos · project thread

Fixes #31434

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:QA 席不再按每周定时跑,改为你说「一波开发完了」才开一轮;每轮在清单回归之外加跑场景库的 starter 卡(用本仓未发布的包)。
  • 为什么改:照你在 QA 席会话里的两句裁决「也不需要每周跑,一波开发完了,我会和你说」与「纳入,本轮一起跑,立卡交 skills 车道」。
  • 风险与回滚:只改三份内部规则文本,不动任何脚本、选择器(owed:weekly 原样)或产品代码;回滚即 revert 本 PR。
  • 先看:.claude/skills/pm-dispatch/references/lanes/qa.md(〈每轮〉新增四行场景半边)、.claude/skills/checklist-test/SKILL.md §6、lanes/skills.md 第 25 行。
  • 两分钟验证:pnpm check:pm-skill-ratchet,预期三份文件行数都在上限内、全绿(qa.md 29/29,SKILL.md 279/279,skills.md 32/33)。
  • 需要你做的:无,席位落地(Tier S,契约复审归总监席)。

What changes

  • lanes/qa.md 〈座位与唤醒〉: the weekly Routine fire is gone; a round opens when the maintainer says a development wave is done, and a post-release round still runs the npm smoke. The "first round, then every fire" line is removed (its content is the next section's first line).
  • lanes/qa.md 〈每轮〉: the scenario half, four lines: the starter cards of docs/qa/scenarios with --modes scratch --packages workspace (a wave is unreleased); one card per command (--only ID, the 2-hour background cap) and at most two in parallel per container, citing packages/qa/scenarios/README.md 〈Running the cards in a Claude Code cloud session〉 for the subscription oauth_token login, the two API variables left unset and a permission mode other than Auto (named, not restated); the scorecard goes in the round report, not a qa-run record; a failing half judged a product defect is extracted like a checklist fail, its QA-source: line pointing at the round.
  • lanes/qa.md 〈边界〉: a QA wave (release-candidate full run, maintainer-named target) stays maintainer-triggered and distinct from the wave-end rounds; the seat runs the section 6 routines plus the scenario half.
  • checklist-test section 6 points at lanes/qa.md for when a round opens (one written copy of the cadence); "weekly / last week" become "routine / last round" in section 6 and in retest trigger 4 of section 5.
  • lanes/skills.md line 25: the section 6 routines and the scenario half run per development wave and are not a QA wave.

Line budget, paid inside each file (no re-wrap): qa.md 29 → 29 (four scenario lines paid by deleting the first-round line, folding the retest-owed line into the four-record line, and replacing the three restated section 5 lines on closing and Supersede with one pointer); checklist-test/SKILL.md 279 → 279; lanes/skills.md 32 → 32. Every changed line is at most 120 bytes.

Facts checked against main before writing: the six starter cards are the top-level tier of asset_lifecycle, leave_balances, order_to_cash, requisition_to_receipt, service_desk and travel_expense; --only, --modes scratch and --packages workspace are parsed in packages/qa/scenarios/src/runner/cli.ts; the API-billing refusal is API_BILLING_ENV in driver.ts. No script reads owed:weekly (git grep hits only the two rule files), so no selector moves.

Why

The maintainer's two rulings quoted above, recorded on the card.

Verification

17 derived gates on head 7d0c77e4, every one exit 0, reconciled with dispatch-gates --ran (17 derived, 17 run, 0 NOT-MEASURED); after merging main (head d983bdef, no overlap with these files) check:pm-skill-ratchet and check:pm-skill-id-lint re-ran, exit 0.

Gate commands
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/pm/check-harness-current.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm check:agent-test-spelling :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-skill-id-lint :: exit 0
pnpm check:pm-skill-ratchet :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:skill-frame-sync :: exit 0
pnpm check:watch-hint-literal :: exit 0

Acceptance notes

  • skip-changeset: .claude/** only, nothing publishes.
  • Governed surface .claude/** (Tier S): lands on a contract-review record for the current head.

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (n/a)
  • 2. Every name I added uses the casing for its kind. (n/a)
  • 3. No formatter ran; pnpm lint passes. (no code)
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (publishes nothing)
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (n/a)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.

🤖 Generated with Claude Code


Generated by Claude Code

…io half

The QA seat no longer runs on a weekly Routine fire: a round starts when the
maintainer says a development wave is done, and every round also runs the
starter cards of docs/qa/scenarios against the workspace packages.
checklist-test section 6 points at lanes/qa.md for the cadence, and the
skills lane charter follows.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jUgpaxRFL1ara3J4y8
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 8, 2026
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Nov 8, 2026

Copy link
Copy Markdown
Collaborator

Contract-review-claim: session_01QsR2jV5sBSzCYNEDgpYLJw · head d983bde · 2026-11-08T11:02:31Z


Generated by Claude Code

Copy link
Copy Markdown
Collaborator

director#1 · zhuangjianguo · session_01QsR2jV5sBSzCYNEDgpYLJw

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d983bdeff6bea6610bcb745e3bb59c4edd534096
Local-runs: none beyond counts — wc -l on the three files at this head against origin/main, wc -c on the seventeen changed lines, git grep over .claude/skills/**, packages/qa/scenarios/** and docs/qa/scenarios/** at origin/main. No gate run.
Scope: .claude/skills/pm-dispatch/references/lanes/qa.md (whole file, 29 lines, read on main and at this head), .claude/skills/checklist-test/SKILL.md (L237, L247–257; §5 L169–230 read), .claude/skills/pm-dispatch/references/lanes/skills.md (L25); read on origin/main: packages/qa/scenarios/README.md L106–132 (〈Running the cards in a Claude Code cloud session〉) and L134–193, packages/qa/scenarios/src/runner/cli.ts L11–12, L47, L115, L135–165, packages/qa/scenarios/src/runner/driver.ts L18, L82, L109–135 (API_BILLING_ENV), the six docs/qa/scenarios/*.json cards with tier: starter; card #31434 (the maintainer's two verbatim rulings), triage 6719500236, claim 6720493769, report 6720649049.

① Contract against the card and the rulings

  • The maintainer's rulings on the card, verbatim: 「也不需要每周跑,一波开发完了,我会和你说」 and 「纳入,本轮一起跑,立卡交 skills 车道」. The diff writes both: qa.md L7 (a round opens on the maintainer's word that a development wave is done; the post-release smoke stays a separate round; no self-start, no scheduled task), L14–17 (the scenario half in every round), checklist-test §6 pointing at lanes/qa.md for the cadence (one written copy), 每周/上周 → 例行/上轮 in §6 and in §5 retest trigger 4, and lanes/skills.md L25. owed:weekly is untouched and is read by no script (git grep hits only the two rule files). ✓
  • Surface: the three files the claim names; the §5 trigger-4 line is inside the claimed file. Line-neutral: 29/29, 279/279, 32/32 (ceiling 33); changed lines 75–119 B against the 120 B cap, no re-wrap. Clause-②: no, Metadata-protocol: none, skip-changeset. ✓

② The qa.md fold (point 1 the seat asked)

  • Old L17–19 (四分法处置 + 收口评论机器行 + 抽取卡 QA-source:; 关 completed 一行指向收口评论, 遗留项留卡, ⛔ 不为等修复开着; 新记录覆盖旧地面 ⇒ 先结转再关, Supersede) → new L19 「每张 qa-run 记录当轮照 §5 收口、关闭与 Supersede;⛔ 不为等修复开着」. Each folded rule is a §5 paragraph by name: the four-way disposition L178, the grep-able closure comment L199–211 with the QA-source: line L211, 关闭 L221–222 (completed, one line to the closure comment, leftovers stay on their cards, 「⛔ 不为等修复开着」 verbatim), Supersede 协议 L224–228 (carry forward FIRST, then close the old record not_planned + Superseded-by:). The pointer names the three §5 headings in order and keeps the one ⛔ on the line. §5 carries every folded rule. ✓
  • Old L9 (开席首轮: retest-owed.mjs first, then the first owed:weekly record, then one round per fire) is removed: its per-round half is new L12's first clause, its first-round special case is §6's 「首轮取最近一张发版全量重跑记录的 subject」, and "every fire" is the cadence the ruling retires. Old L13's 「(只读)」 and 「欠测 id 即本轮 owed:weekly 记录的范围」 are §6's 「由 node scripts/qa/retest-owed.mjs 只读算出(⛔ 不写 GitHub)」 and 「清单里每个 id 按 §0 裸 id 逐项解析」. Old L21's 「频率由维护者定」 goes with the cadence. Nothing normative leaves the skill. ✓

③ The scenario facts (point 2)

  • starter set: docs/qa/scenarios has exactly six cards with top-level tier: starter (asset_lifecycle, leave_balances, order_to_cash, requisition_to_receipt, service_desk, travel_expense); the rule names the tier, not the list, so a seventh card joins without a text change. ✓
  • --only ID[,ID], --modes (scratch | template, default both) and --packages (published default | workspace) are parsed in runner/cli.ts L135–160; workspace refuses --create-version (L164) and needs a checkout (L231). README L148 / L175–193: workspace builds this checkout's unreleased packages and its records say packages: workspace @ <sha> (unreleased) — the card's reason for workspace on a wave. ✓
  • README 〈Running the cards in a Claude Code cloud session〉 (L106, the heading the rule cites, byte-exact): subscription oauth_token login with ANTHROPIC_API_KEY / ANTHROPIC_AUTH_TOKEN unset (the driver's API_BILLING_ENV L109 refuses to start otherwise), permission mode not Auto (Accept edits), a background command capped at 2 hours, one starter card per --only command, "for more, run two commands in parallel". The rule's 「每容器至多两条并行」 turns the README's suggestion into a cap, which is the seat's own planning constraint and tighter than the source, not contrary to it. ✓
  • Scorecard placement (round record, not a qa-run record) and the failing-half extraction (as a checklist fail, QA-source: pointing at the round) are the card's own asks; the QA-source: shape is §5 L211. ✓

④ lanes/skills.md L25 (point 3) and the rest

  • L25 now: 「QA 波次由维护者手动触发,⛔ 不自启;qa#1 的 §6 例行与场景半边逐开发波跑,不是波次」. The QA wave (release-candidate full run, maintainer-named target) stays maintainer-triggered and is named distinct from the per-wave rounds, matching qa.md L27 word for word in substance. ✓
  • checklist-test §6 L247–248: the two routines belong to qa#1; "when a round opens" is only in lanes/qa.md; routines are not repository code nor a merge gate (kept). The 「其定时任务由维护者为该席建」 clause is gone with the Routine. ✓
  • Tier S: .claude/** on this repository lands on the owning seat's contract-tier review of record. Built at the default tier per the order; recorded, not a finding. Serial: none claimed on the surface; mergeable: true, merge-base = current main. CI at this head when read: 14 success, 22 skipped, 7 in progress, 0 failures; the seat's 17 derived gates exit 0 at 7d0c77e, ratchet and id-lint re-run exit 0 at this head.

⑤ Findings

  • Must-fix: none.
  • Should-fix: none.

Implemented-by: claude/project-thread-bujtwx
Reviewed-by: session_01QsR2jV5sBSzCYNEDgpYLJw

VERDICT: PASS


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · zhuangjianguo · session_01QsR2jT34CXs5fCn3BDirZw

维护者速读

  • 改了什么:QA 席不再每周定时跑。你说「一波开发完了」它才开一轮,发版后照旧加一轮 npm 冒烟。每轮新增「场景半边」:跑 docs/qa/scenarios 的 starter 卡,对未发布的工作区包。计分卡写进轮次记录,判为产品缺陷的失败照常抽卡。checklist-test §6 不再写节奏,改为指向 lanes/qa.md。
  • 为什么改:你在 QA 席会话里裁定「也不需要每周跑,一波开发完了,我会和你说」和「纳入,本轮一起跑」(QA seat charter: runs on the maintainer's word after each development wave (no weekly cadence), and adds the scenario library beside the checklist owed list #31434)。
  • 风险与回滚:只改三个规则文件,每个文件行数不变,零代码。脚本读的选择器 owed:weekly 没动。回滚就是 revert 本 PR。
  • 先看:.claude/skills/pm-dispatch/references/lanes/qa.md 〈座位与唤醒〉〈每轮〉。
  • 两分钟验证:pnpm check:pm-skill-ratchet 退出 0;git grep -n '每周' .claude/skills/pm-dispatch/references/lanes/qa.md 只剩「无周报聊天表」一处。
  • 需要你做的:无。这是 Tier S,契约复核已通过,席位自己落地。之后每波开发结束时,告诉 QA 席一声即可。
  • 席位意见:ACCEPT。契约复核 PASS(记录 6720677173,Head d983bdef,无 must-fix / should-fix),场景事实已逐条对过 runner 代码和 README。

席位核对

Head-sha: d983bdeff6bea6610bcb745e3bb59c4edd534096

  1. Shape: draft, base main, body carries Fixes #31434, skip-changeset. 3 files, line-neutral (29/29, 279/279, 32/33). Tier S (.claude/**).

  2. Premise measured: on main lanes/qa.md L7 had a weekly Routine fire and L14 the four weekly §6 records, and no text named docs/qa/scenarios. The seat read the diff. The cadence is now the maintainer's word, §6 points at lanes/qa.md (one written copy), owed:weekly is untouched, and the QA wave stays distinct from the per-wave rounds in lanes/skills.md L25.

  3. Gates: contract review at CONTRACT_REVIEW_TIER: PASS, record 6720677173 on this head. The director checked:

    • each folded §5 closure rule by line;
    • the six starter cards, the --only / --modes / --packages flags, the README L106 heading, and the API variables (driver.ts L109) against main.

    Dev gates: 17 derived, 17 exit 0 at 7d0c77e4; ratchet and id-lint exit 0 again at the merge head. Check-runs were still running at review time; auto-merge waits for them.

  4. Accepted deviations: in §5 retest trigger 4, 每周回归 became 例行回归 (same file). In qa.md, three §5 closure lines fold into one pointer and the first-round line is deleted to pay for the new lines (each rule verified in §5 or §6).

  5. Out of scope / Skills-docs: none filed. Metadata-protocol: none, so no Skills-docs: line is owed.

  6. Landing: Tier S. pr_ready + automerge_enable on this head; the queue guard reads record 6720677173.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 8, 2026 11:04
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge November 8, 2026 11:04
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 8, 2026
Merged via the queue into main with commit 507b53c Nov 8, 2026
46 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-bujtwx branch November 8, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

2 participants